package cn.credit.loan.dao.repayment;

import java.util.List;

import cn.credit.loan.entity.Repayment;

/**
 * 还款记录信息类Dao层---Mapper接口
 * @author LI
 *
 */
public interface RepaymentMapper {
	/**
	 * 还款记录信息添加
	 * @param repayment
	 * @return
	 * @throws Exception
	 */
	public int getRepaymentAdd(Repayment repayment)throws Exception;
	/**
	 * 还款记录信息更新
	 * @param repayment
	 * @return
	 * @throws Exception
	 */
	public int getRepaymentUpdate(Repayment repayment)throws Exception;
	/**
	 * 还款记录信息删除
	 * @param repaymentId
	 * @return
	 * @throws Exception
	 */
	public boolean getRepaymentDelete(int repaymentId)throws Exception;
	/**
	 * 还款记录信息查询
	 * @param repayment
	 * @return
	 * @throws Exception
	 */
	public List<Repayment> getRepaymentList(Repayment repayment)throws Exception;
	
}
